package com.util.util;

public class TestMain {

    public static void main(String[] args) {
        ServiceResult serviceResult = new ServiceResult();

        try {
            ReflectionUtil.setValue(serviceResult,"code","111111111111");

            String code = serviceResult.getCode();
            System.out.println(code);

        } catch (NoSuchFieldException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }

    }

}
